inherited fmAccountPayableInfo: TfmAccountPayableInfo
  Caption = #24212#20184#24080#27454
  PixelsPerInch = 96
  TextHeight = 13
  inherited lcMain: TdxLayoutControl
    inherited lblCreateDate: TRzDBLabel
      Left = 750
      Top = 437
      DataField = 'dap_createdate'
      DataSource = dsBase
      ExplicitLeft = 750
      ExplicitTop = 437
    end
    inherited lblCreateStaff: TRzDBLabel
      Left = 750
      Top = 417
      DataField = 'dap_createstaff'
      DataSource = dsBase
      ExplicitLeft = 750
      ExplicitTop = 417
    end
    object cxDBLabel1: TRzDBLabel [2]
      Left = 478
      Top = 417
      Width = 80
      Height = 21
      Color = clWindow
      ParentColor = False
      BorderOuter = fsFlat
      BorderSides = [sdBottom]
      BorderColor = clWindow
      BorderHighlight = clWhite
      BorderShadow = 9552329
      FlatColor = 5607865
      FlatColorAdjustment = 0
      DataField = 'dap_state'
      DataSource = dsBase
    end
    inherited lblModifyDate: TRzDBLabel
      Left = 614
      Top = 437
      ExplicitLeft = 614
      ExplicitTop = 437
    end
    inherited lblModifyStaff: TRzDBLabel
      Left = 614
      Top = 417
      ExplicitLeft = 614
      ExplicitTop = 417
    end
    object cxDBComboBox2: TRzDBComboBox [5]
      Left = 707
      Top = 52
      Width = 120
      Height = 21
      DataField = 'dap_type2'
      DataSource = dsBase
      Ctl3D = False
      FlatButtonColor = 9229030
      FlatButtons = True
      FocusColor = 13824245
      FrameColor = 5607865
      FrameHotStyle = fsGroove
      FrameSides = [sdBottom]
      FrameVisible = True
      FramingPreference = fpCustomFraming
      ItemHeight = 13
      ParentCtl3D = False
      TabOrder = 17
      Items.Strings = (
        #23454#20184
        #39044#20184)
    end
    object cxDBDateEdit1: TRzDBDateTimeEdit [6]
      Left = 487
      Top = 52
      Width = 120
      Height = 21
      DataSource = dsBase
      DataField = 'dap_paydate'
      FocusColor = 13824245
      FrameColor = 5607865
      FrameHotStyle = fsGroove
      FrameSides = [sdBottom]
      FrameVisible = True
      FramingPreference = fpCustomFraming
      TabOrder = 12
      EditType = etDate
      FlatButtonColor = 9229030
      FlatButtons = True
    end
    object cbxStaff: TRzDBComboBox [7]
      Left = 267
      Top = 52
      Width = 120
      Height = 21
      DataField = 'dap_staff'
      DataSource = dsBase
      AutoDropDown = True
      Ctl3D = False
      FlatButtonColor = 9229030
      FlatButtons = True
      FocusColor = 13824245
      FrameColor = 5607865
      FrameHotStyle = fsGroove
      FrameSides = [sdBottom]
      FrameVisible = True
      FramingPreference = fpCustomFraming
      ItemHeight = 13
      ParentCtl3D = False
      TabOrder = 7
      OnChange = cbxStaffPropertiesChange
      OnDropDown = cbxStaffDropDown
    end
    object cbxCurrency: TRzDBComboBox [8]
      Left = 59
      Top = 76
      Width = 60
      Height = 21
      DataField = 'dap_mcode'
      DataSource = dsBase
      Ctl3D = False
      FlatButtonColor = 9229030
      FlatButtons = True
      FocusColor = 13824245
      FrameColor = 5607865
      FrameHotStyle = fsGroove
      FrameSides = [sdBottom]
      FrameVisible = True
      FramingPreference = fpCustomFraming
      ItemHeight = 13
      ParentCtl3D = False
      TabOrder = 2
      OnChange = cbxCurrencyPropertiesChange
      OnDropDown = cbxCurrencyDropDown
    end
    object cxDBTextEdit5: TRzDBEdit [9]
      Left = 122
      Top = 76
      Width = 57
      Height = 21
      DataSource = dsBase
      DataField = 'dap_rate'
      FocusColor = 13824245
      FrameColor = 5607865
      FrameHotStyle = fsGroove
      FrameSides = [sdBottom]
      FrameVisible = True
      FramingPreference = fpCustomFraming
      TabOrder = 3
    end
    object cxDBTextEdit6: TRzDBEdit [10]
      Left = 267
      Top = 76
      Width = 120
      Height = 21
      DataSource = dsBase
      DataField = 'dap_amt'
      FocusColor = 13824245
      FrameColor = 5607865
      FrameHotStyle = fsGroove
      FrameSides = [sdBottom]
      FrameVisible = True
      FramingPreference = fpCustomFraming
      TabOrder = 8
    end
    object cbxPayMode: TRzDBComboBox [11]
      Left = 707
      Top = 76
      Width = 120
      Height = 21
      DataField = 'dap_payment'
      DataSource = dsBase
      Ctl3D = False
      FlatButtonColor = 9229030
      FlatButtons = True
      FocusColor = 13824245
      FrameColor = 5607865
      FrameHotStyle = fsGroove
      FrameSides = [sdBottom]
      FrameVisible = True
      FramingPreference = fpCustomFraming
      ItemHeight = 13
      ParentCtl3D = False
      TabOrder = 18
      OnDropDown = cbxPayModeDropDown
    end
    object cxDBTextEdit7: TRzDBEdit [12]
      Left = 267
      Top = 100
      Width = 120
      Height = 21
      DataSource = dsBase
      DataField = 'dap_balance'
      FocusColor = 13824245
      FrameColor = 5607865
      FrameHotStyle = fsGroove
      FrameSides = [sdBottom]
      FrameVisible = True
      FramingPreference = fpCustomFraming
      TabOrder = 9
    end
    object cxDBTextEdit8: TRzDBEdit [13]
      Left = 487
      Top = 76
      Width = 60
      Height = 21
      DataSource = dsBase
      DataField = 'dap_billtype'
      FocusColor = 13824245
      FrameColor = 5607865
      FrameHotStyle = fsGroove
      FrameSides = [sdBottom]
      FrameVisible = True
      FramingPreference = fpCustomFraming
      TabOrder = 13
    end
    object cxDBTextEdit9: TRzDBEdit [14]
      Left = 550
      Top = 76
      Width = 57
      Height = 21
      DataSource = dsBase
      DataField = 'dap_billno'
      FocusColor = 13824245
      FrameColor = 5607865
      FrameHotStyle = fsGroove
      FrameSides = [sdBottom]
      FrameVisible = True
      FramingPreference = fpCustomFraming
      TabOrder = 14
    end
    object cxDBTextEdit11: TRzDBEdit [15]
      Left = 707
      Top = 100
      Width = 120
      Height = 21
      DataSource = dsBase
      DataField = 'dap_bankaccount'
      FocusColor = 13824245
      FrameColor = 5607865
      FrameHotStyle = fsGroove
      FrameSides = [sdBottom]
      FrameVisible = True
      FramingPreference = fpCustomFraming
      TabOrder = 19
    end
    object cxDBMemo1: TRzDBMemo [16]
      Left = 59
      Top = 124
      Width = 120
      Height = 21
      DataField = 'dap_remark'
      DataSource = dsBase
      TabOrder = 5
      OnEnter = MemoEnter
      OnExit = MemoExit
      FocusColor = 13824245
      FrameColor = 5607865
      FrameHotStyle = fsGroove
      FrameSides = [sdBottom]
      FrameVisible = True
      FramingPreference = fpCustomFraming
    end
    object cxDBTextEdit12: TRzDBEdit [17]
      Left = 267
      Top = 124
      Width = 120
      Height = 21
      DataSource = dsBase
      DataField = 'dap_usedamt'
      FocusColor = 13824245
      FrameColor = 5607865
      FrameHotStyle = fsGroove
      FrameSides = [sdBottom]
      FrameVisible = True
      FramingPreference = fpCustomFraming
      TabOrder = 10
    end
    object cxDBComboBox6: TRzDBComboBox [18]
      Left = 707
      Top = 28
      Width = 120
      Height = 21
      DataField = 'dap_matchtype'
      DataSource = dsBase
      Ctl3D = False
      FlatButtonColor = 9229030
      FlatButtons = True
      FocusColor = 13824245
      FrameColor = 5607865
      FrameHotStyle = fsGroove
      FrameSides = [sdBottom]
      FrameVisible = True
      FramingPreference = fpCustomFraming
      ItemHeight = 13
      ParentCtl3D = False
      TabOrder = 16
      Items.Strings = (
        #24037#21378
        #23458#25143
        #20854#20182#24448#26469
        #20854#20182)
      Values.Strings = (
        #24037#21378
        #23458#25143
        #20854#20182#24448#26469
        #20854#20182)
    end
    object cbxCompany: TRzDBComboBox [19]
      Left = 59
      Top = 100
      Width = 120
      Height = 21
      DataField = 'dap_osimpname'
      DataSource = dsBase
      Ctl3D = False
      FlatButtonColor = 9229030
      FlatButtons = True
      FocusColor = 13824245
      FrameColor = 5607865
      FrameHotStyle = fsGroove
      FrameSides = [sdBottom]
      FrameVisible = True
      FramingPreference = fpCustomFraming
      ItemHeight = 13
      ParentCtl3D = False
      TabOrder = 4
    end
    object cbxBank: TRzDBComboBox [20]
      Left = 487
      Top = 100
      Width = 120
      Height = 21
      DataField = 'dap_bankname'
      DataSource = dsBase
      Ctl3D = False
      FlatButtonColor = 9229030
      FlatButtons = True
      FocusColor = 13824245
      FrameColor = 5607865
      FrameHotStyle = fsGroove
      FrameSides = [sdBottom]
      FrameVisible = True
      FramingPreference = fpCustomFraming
      ItemHeight = 13
      ParentCtl3D = False
      TabOrder = 15
      OnDropDown = cbxBankPropertiesInitPopup
    end
    object edtdap_no: TRzDBEdit [21]
      Left = 59
      Top = 28
      Width = 120
      Height = 21
      DataSource = dsBase
      DataField = 'dap_no'
      ReadOnly = True
      FrameController = dmImages.RzFrameController1
      TabOrder = 0
    end
    object cxDBTextEdit3: TRzDBEdit [22]
      Left = 59
      Top = 52
      Width = 120
      Height = 21
      DataSource = dsBase
      DataField = 'dap_matchname'
      ReadOnly = True
      Color = clInfoBk
      FocusColor = 13824245
      FrameColor = 5607865
      FrameHotStyle = fsGroove
      FrameSides = [sdBottom]
      FrameVisible = True
      FramingPreference = fpCustomFraming
      TabOrder = 1
    end
    object RzDBDateTimeEdit1: TRzDBDateTimeEdit [23]
      Left = 267
      Top = 28
      Width = 120
      Height = 21
      DataSource = dsBase
      DataField = 'dap_date'
      FocusColor = 13824245
      FrameColor = 5607865
      FrameHotStyle = fsGroove
      FrameSides = [sdBottom]
      FrameVisible = True
      FramingPreference = fpCustomFraming
      TabOrder = 6
      EditType = etDate
      FlatButtonColor = 9229030
      FlatButtons = True
    end
    object cxDBComboBox1: TRzDBComboBox [24]
      Left = 487
      Top = 28
      Width = 120
      Height = 21
      DataField = 'dap_type'
      DataSource = dsBase
      Ctl3D = False
      FlatButtonColor = 9229030
      FlatButtons = True
      FocusColor = 13824245
      FrameColor = 5607865
      FrameHotStyle = fsGroove
      FrameSides = [sdBottom]
      FrameVisible = True
      FramingPreference = fpCustomFraming
      ItemHeight = 13
      ParentCtl3D = False
      TabOrder = 11
      Items.Strings = (
        #35746#21333#37319#36141#36135#27454
        #24211#23384#37319#36141#36135#27454
        #26679#21697#24320#21457#36153#29992
        #36816#20445#36153
        #22269#22806#20323#37329
        #22269#20869#20323#37329
        #23458#25143#32034#36180
        #37197#39069#36153
        #24037#21378#29702#36180
        #20854#23427)
    end
    inherited pcDetails: TcxPageControl
      Top = 182
      Width = 821
      TabOrder = 20
      ExplicitTop = 182
      ExplicitWidth = 821
      ClientRectRight = 821
      inherited cxTabSheet1: TcxTabSheet
        ExplicitWidth = 821
        inherited grdDetails: TcxGrid
          Width = 821
          ExplicitWidth = 821
          inherited tvDetails: TcxGridDBBandedTableView
            DataController.Summary.FooterSummaryItems = <
              item
                Kind = skCount
                Column = tvDetailsColumn1
              end>
            Bands = <
              item
              end
              item
                Visible = False
              end>
            object tvDetailsColumn1: TcxGridDBBandedColumn [0]
              Caption = #20914#36134#26085#26399
              DataBinding.FieldName = 'dpb_date'
              Width = 81
              Position.BandIndex = 0
              Position.ColIndex = 0
              Position.RowIndex = 0
            end
            object tvDetailsColumn2: TcxGridDBBandedColumn [1]
              Caption = #20914#36134#21333#21495
              DataBinding.FieldName = 'dpb_no'
              Width = 94
              Position.BandIndex = 0
              Position.ColIndex = 1
              Position.RowIndex = 0
            end
            object tvDetailsColumn3: TcxGridDBBandedColumn [2]
              Caption = #20914#36134#26041#24335
              DataBinding.FieldName = 'dpb_type'
              Width = 91
              Position.BandIndex = 0
              Position.ColIndex = 4
              Position.RowIndex = 0
            end
            object tvDetailsAmt: TcxGridDBBandedColumn [3]
              Caption = #20914#36134#37329#39069
              DataBinding.FieldName = 'dpbi_amt'
              PropertiesClassName = 'TcxCurrencyEditProperties'
              Width = 81
              Position.BandIndex = 0
              Position.ColIndex = 6
              Position.RowIndex = 0
            end
            object tvDetailsColumn5: TcxGridDBBandedColumn [4]
              Caption = #22791#27880
              DataBinding.FieldName = 'dpbi_remark'
              Width = 120
              Position.BandIndex = 0
              Position.ColIndex = 7
              Position.RowIndex = 0
            end
            object tvDetailsColumn6: TcxGridDBBandedColumn [5]
              Caption = #20914#36134#26102#27719#29575
              DataBinding.FieldName = 'dpb_rate'
              Width = 88
              Position.BandIndex = 0
              Position.ColIndex = 5
              Position.RowIndex = 0
            end
            inherited tvDetailsColumnLast: TcxGridDBBandedColumn
              Position.BandIndex = 0
              Position.ColIndex = 8
              Position.RowIndex = 0
            end
            inherited tvDetailsOrder: TcxGridDBBandedColumn
              Position.ColIndex = 9
            end
            object tvDetailsColumn4: TcxGridDBBandedColumn
              Caption = #20184#27454#20154
              DataBinding.FieldName = 'dpb_staff'
              Width = 80
              Position.BandIndex = 0
              Position.ColIndex = 3
              Position.RowIndex = 0
            end
            object tvDetailsColumn7: TcxGridDBBandedColumn
              Caption = #20184#27454#20844#21496
              DataBinding.FieldName = 'dpb_osimpname'
              Width = 80
              Position.BandIndex = 0
              Position.ColIndex = 2
              Position.RowIndex = 0
            end
          end
        end
      end
    end
    inherited lcgRoot: TdxLayoutGroup
      Index = -1
    end
    inherited lcgBaseInfoNormal: TdxLayoutGroup
      Index = 0
    end
    inherited lcgBaseInfoLeft: TdxLayoutGroup
      CaptionOptions.Visible = False
      ShowBorder = False
      Index = 0
    end
    inherited lcgBaseInfoMiddle: TdxLayoutGroup
      CaptionOptions.Visible = False
      ShowBorder = False
      Index = 1
    end
    inherited lcgBaseInfoRight: TdxLayoutGroup
      CaptionOptions.Visible = False
      ShowBorder = False
      Index = 2
    end
    inherited lcgBaseInfoLast: TdxLayoutGroup
      Index = 3
    end
    inherited lcgDetails: TdxLayoutGroup
      CaptionOptions.Text = #20914#36134#26126#32454
      Index = 1
    end
    inherited lcpcDetails: TdxLayoutItem
      Index = 0
    end
    inherited lcgArchive: TdxLayoutGroup
      Index = 2
    end
    inherited lcArchive2: TdxLayoutGroup
      Index = 1
    end
    inherited lcitemModifyStaff: TdxLayoutItem
      Index = 0
    end
    inherited lcitemModifyDate: TdxLayoutItem
      Index = 1
    end
    inherited lcgArchive1: TdxLayoutGroup
      Index = 2
    end
    inherited lcitemCreateStaff: TdxLayoutItem
      Index = 0
    end
    inherited lcitemCreateDate: TdxLayoutItem
      Index = 1
    end
    object lcMainItem1: TdxLayoutItem
      CaptionOptions.Text = #20184#27454#21333#21495
      LayoutLookAndFeel = dmImages.lfMust
      Parent = lcgBaseInfoLeft
      Control = edtdap_no
      ControlOptions.ShowBorder = False
      Index = 0
    end
    object lcMainItem4: TdxLayoutItem
      CaptionOptions.Text = #20184#27454#21333#20301
      LayoutLookAndFeel = dmImages.lfBaseInfo
      Parent = lcgBaseInfoLeft
      Control = cxDBTextEdit3
      ControlOptions.ShowBorder = False
      OnCaptionClick = lcMainItem4CaptionClick
      Index = 1
    end
    object lcMainGroup1: TdxLayoutGroup
      CaptionOptions.Text = 'Hidden Group'
      CaptionOptions.Visible = False
      Parent = lcgBaseInfoLeft
      ButtonOptions.Buttons = <>
      Hidden = True
      ShowBorder = False
      Index = 2
    end
    object lcMainGroup2: TdxLayoutGroup
      CaptionOptions.Text = 'Hidden Group'
      CaptionOptions.Visible = False
      Parent = lcMainGroup1
      ButtonOptions.Buttons = <>
      Hidden = True
      LayoutDirection = ldHorizontal
      ShowBorder = False
      Index = 0
    end
    object lcMainItem9: TdxLayoutItem
      AlignHorz = ahLeft
      CaptionOptions.Text = #24065#21035
      Parent = lcMainGroup2
      Control = cbxCurrency
      ControlOptions.ShowBorder = False
      Index = 0
    end
    object lcMainItem10: TdxLayoutItem
      AlignHorz = ahClient
      Parent = lcMainGroup2
      Control = cxDBTextEdit5
      ControlOptions.ShowBorder = False
      Index = 1
    end
    object lcMainItem5: TdxLayoutItem
      CaptionOptions.Text = #20184#27454#20844#21496
      LayoutLookAndFeel = dmImages.lfMust
      Parent = lcMainGroup1
      Control = cbxCompany
      ControlOptions.ShowBorder = False
      Index = 1
    end
    object lcMainItem19: TdxLayoutItem
      CaptionOptions.Text = #22791#27880
      Parent = lcMainGroup1
      Control = cxDBMemo1
      ControlOptions.ShowBorder = False
      Index = 2
    end
    object lcMainItem23: TdxLayoutItem
      CaptionOptions.Text = #36134#27454#26085#26399
      Parent = lcgBaseInfoMiddle
      Control = RzDBDateTimeEdit1
      Index = 0
    end
    object lcMainItem8: TdxLayoutItem
      CaptionOptions.Text = #20184#27454#20154#21592
      Parent = lcgBaseInfoMiddle
      Control = cbxStaff
      ControlOptions.ShowBorder = False
      Index = 1
    end
    object lcMainItem11: TdxLayoutItem
      CaptionOptions.Text = #36134#27454#37329#39069
      Parent = lcgBaseInfoMiddle
      Control = cxDBTextEdit6
      ControlOptions.ShowBorder = False
      Index = 2
    end
    object lcMainItem13: TdxLayoutItem
      CaptionOptions.Text = #24453#20184#37329#39069
      Parent = lcgBaseInfoMiddle
      Control = cxDBTextEdit7
      ControlOptions.ShowBorder = False
      Index = 3
    end
    object lcitemUsedAmt: TdxLayoutItem
      CaptionOptions.Text = #24050#20351#29992#37329#39069
      Parent = lcgBaseInfoMiddle
      Control = cxDBTextEdit12
      ControlOptions.ShowBorder = False
      Index = 4
    end
    object lcMainItem3: TdxLayoutItem
      CaptionOptions.Text = #36134#27454#31867#21035
      Parent = lcgBaseInfoRight
      Control = cxDBComboBox1
      ControlOptions.ShowBorder = False
      Index = 0
    end
    object lcMainItem7: TdxLayoutItem
      CaptionOptions.Text = #39044#35745#20184#27454#26085
      Parent = lcgBaseInfoRight
      Control = cxDBDateEdit1
      ControlOptions.ShowBorder = False
      Index = 1
    end
    object lcMainGroup3: TdxLayoutGroup
      CaptionOptions.Text = 'Hidden Group'
      CaptionOptions.Visible = False
      Parent = lcgBaseInfoRight
      ButtonOptions.Buttons = <>
      Hidden = True
      LayoutDirection = ldHorizontal
      ShowBorder = False
      Index = 2
    end
    object lcMainItem14: TdxLayoutItem
      AlignHorz = ahLeft
      CaptionOptions.Text = #21407#22987#21333#25454
      LayoutLookAndFeel = dmImages.lfBaseInfo
      Parent = lcMainGroup3
      Control = cxDBTextEdit8
      ControlOptions.ShowBorder = False
      OnCaptionClick = lcMainItem14CaptionClick
      Index = 0
    end
    object lcMainItem15: TdxLayoutItem
      AlignHorz = ahClient
      Parent = lcMainGroup3
      Control = cxDBTextEdit9
      ControlOptions.ShowBorder = False
      Index = 1
    end
    object lcMainItem20: TdxLayoutItem
      CaptionOptions.Text = #23545#26041#25910#27454#38134#34892
      Parent = lcgBaseInfoRight
      Control = cbxBank
      ControlOptions.ShowBorder = False
      Index = 3
    end
    object lcMainItem22: TdxLayoutItem
      CaptionOptions.Text = #20184#27454#23545#35937
      Parent = lcgBaseInfoLast
      Control = cxDBComboBox6
      ControlOptions.ShowBorder = False
      Index = 0
    end
    object lcMainItem6: TdxLayoutItem
      CaptionOptions.Text = #20184#27454#24615#36136
      Parent = lcgBaseInfoLast
      Control = cxDBComboBox2
      ControlOptions.ShowBorder = False
      Index = 1
    end
    object lcMainItem12: TdxLayoutItem
      CaptionOptions.Text = #20184#27454#26041#24335
      Parent = lcgBaseInfoLast
      Control = cbxPayMode
      ControlOptions.ShowBorder = False
      Index = 2
    end
    object lcMainItem17: TdxLayoutItem
      CaptionOptions.Text = #23545#26041#38134#34892#36134#21495
      Parent = lcgBaseInfoLast
      Control = cxDBTextEdit11
      ControlOptions.ShowBorder = False
      Index = 3
    end
    object lcMainItem16: TdxLayoutItem
      Parent = lcgArchive
      Control = cxDBLabel1
      ControlOptions.ShowBorder = False
      Index = 0
    end
  end
  inherited pnlRight: TPanel
    inherited frameAttachs: TfrmAttachs
      inherited bmAttachs: TdxBarManager
        DockControlHeights = (
          0
          0
          26
          0)
      end
    end
  end
  inherited BarManager: TdxBarManager
    DockControlHeights = (
      0
      0
      26
      0)
  end
  inherited tblBase: TDAMemDataTable
    Fields = <
      item
        Name = 'dap_id'
        DataType = datGuid
        Required = True
        InPrimaryKey = True
      end
      item
        Name = 'dap_no'
        DataType = datString
        Size = 30
      end
      item
        Name = 'dap_date'
        DataType = datDateTime
      end
      item
        Name = 'dap_type'
        DataType = datString
        Size = 30
      end
      item
        Name = 'dap_type2'
        DataType = datString
        Size = 30
      end
      item
        Name = 'dap_matchtype'
        DataType = datString
        Size = 30
      end
      item
        Name = 'dap_matchid'
        DataType = datGuid
      end
      item
        Name = 'dap_matchname'
        DataType = datString
        Size = 30
      end
      item
        Name = 'dap_pino'
        DataType = datString
        Size = 30
      end
      item
        Name = 'dap_stockno'
        DataType = datString
        Size = 30
      end
      item
        Name = 'dap_payment'
        DataType = datString
        Size = 120
      end
      item
        Name = 'dap_staff'
        DataType = datString
        Size = 30
      end
      item
        Name = 'dap_staffid'
        DataType = datGuid
      end
      item
        Name = 'dap_mcode'
        DataType = datString
        Size = 10
      end
      item
        Name = 'dap_rate'
        DataType = datFloat
      end
      item
        Name = 'dap_rateanalyse'
        DataType = datFloat
      end
      item
        Name = 'dap_amt'
        DataType = datFloat
        OnValidate = tblBasedap_amtValidate
      end
      item
        Name = 'dap_balance'
        DataType = datFloat
      end
      item
        Name = 'dap_state'
        DataType = datString
        Size = 20
      end
      item
        Name = 'dap_remark'
        DataType = datString
        Size = 200
      end
      item
        Name = 'dap_paydate'
        DataType = datDateTime
      end
      item
        Name = 'dap_oid'
        DataType = datGuid
      end
      item
        Name = 'dap_osimpname'
        DataType = datString
        Size = 30
      end
      item
        Name = 'dap_bankid'
        DataType = datGuid
      end
      item
        Name = 'dap_bankname'
        DataType = datString
        Size = 60
        OnValidate = tblBasedap_banknameValidate
      end
      item
        Name = 'dap_bankaccount'
        DataType = datString
        Size = 30
      end
      item
        Name = 'dap_billtype'
        DataType = datString
        Size = 30
      end
      item
        Name = 'dap_billid'
        DataType = datGuid
      end
      item
        Name = 'dap_billno'
        DataType = datString
        Size = 30
      end
      item
        Name = 'dap_createstaff'
        DataType = datString
        Size = 30
      end
      item
        Name = 'dap_createdate'
        DataType = datDateTime
      end
      item
        Name = 'dap_modifystaff'
        DataType = datString
        Size = 30
      end
      item
        Name = 'dap_modifydate'
        DataType = datDateTime
      end
      item
        Name = 'dap_usedamt'
        DataType = datFloat
      end
      item
        Name = 'dap_billdate'
        DataType = datDateTime
      end
      item
        Name = 'dap_requestbalance'
        DataType = datFloat
      end
      item
        Name = 'dap_oiid'
        DataType = datInteger
      end
      item
        Name = 'dap_projectno'
        DataType = datString
        Size = 30
      end
      item
        Name = 'dap_projectid'
        DataType = datGuid
      end>
    LogicalName = 'd_accountpayable'
    Top = 218
  end
  inherited dsBase: TDADataSource
    DataSet = tblBase.Dataset
  end
  inherited tblDetails: TDAMemDataTable
    Fields = <
      item
        Name = 'dpbi_pid'
        DataType = datGuid
        Required = True
        InPrimaryKey = True
      end
      item
        Name = 'dpbi_serial'
        DataType = datInteger
        Required = True
        InPrimaryKey = True
      end
      item
        Name = 'dpbi_accountid'
        DataType = datGuid
      end
      item
        Name = 'dpbi_accountno'
        DataType = datString
        Size = 30
      end
      item
        Name = 'dpib_accountamt'
        DataType = datFloat
      end
      item
        Name = 'dpbi_balance'
        DataType = datFloat
      end
      item
        Name = 'dpbi_balance2'
        DataType = datFloat
      end
      item
        Name = 'dpbi_amt'
        DataType = datFloat
      end
      item
        Name = 'dpbi_remark'
        DataType = datString
        Size = 120
      end
      item
        Name = 'dpb_no'
        DataType = datString
        Size = 30
        ReadOnly = True
      end
      item
        Name = 'dpb_date'
        DataType = datDateTime
        ReadOnly = True
      end
      item
        Name = 'dpb_type'
        DataType = datString
        Size = 30
        ReadOnly = True
      end
      item
        Name = 'dpb_staff'
        DataType = datString
        Size = 30
        ReadOnly = True
      end
      item
        Name = 'dpb_osimpname'
        DataType = datString
        Size = 30
        ReadOnly = True
      end>
    MasterMappingMode = mmWhere
    ReadOnly = True
    MasterSource = dsBase
    MasterFields = 'dap_id'
    DetailFields = 'dpbi_accountid'
    LogicalName = 'd_paybalanceitem1'
    Left = 60
    Top = 192
  end
  inherited dsDetails: TDADataSource
    DataSet = tblDetails.Dataset
    Left = 90
    Top = 196
  end
  inherited cxEditStyleController1: TcxEditStyleController
    PixelsPerInch = 96
  end
  inherited cxStyleRepository2: TcxStyleRepository
    PixelsPerInch = 96
  end
  inherited cxStyleRepository3: TcxStyleRepository
    PixelsPerInch = 96
  end
end
